﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
using ResourceEditor.Core;
using Editor.Properties;

namespace Editor
{
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Application.Run(new Main());
        }


        internal static DialogResult WarningYesNo(string message)
        {
            return MessageBox.Show(message, Resources.MessageBoxCaption, MessageBoxButtons.YesNo, MessageBoxIcon.Warning, MessageBoxDefaultButton.Button2);
        }

        internal static DialogResult Information(string message)
        {
            return MessageBox.Show(message, Resources.MessageBoxCaption, MessageBoxButtons.OK, MessageBoxIcon.Information);
        }
    }
}
